/**
 * Marlin 3D Printer Firmware
 * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
 *
 * Based on Sprinter and grbl.
 * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <https://www.gnu.org/licenses/>.
 *
 */
#pragma once

/**
 * Custom Bitmap for splashscreen
 *
 * You may use one of the following tools to generate the C++ bitmap array from
 * a black and white image:
 *
 *  - http://www.marlinfw.org/tools/u8glib/converter.html
 *  - http://www.digole.com/tools/PicturetoC_Hex_converter.php
 */
#include <avr/pgmspace.h>

#define CUSTOM_BOOTSCREEN_TIMEOUT   2500
#define CUSTOM_BOOTSCREEN_BMPWIDTH  125

const unsigned char custom_start_bmp[] PROGMEM = {
  B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000011,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,
  B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000011,B01100000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,
  B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B10001000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,
  B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B11100111,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,
  B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B01110001,B10000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,
  B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00110000,B01000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,
  B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00111100,B00100000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,
  B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B11111111,B00100000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,
  B00000000,B00000000,B00000000,B00000000,B00000000,B00000001,B11111000,B00000000,B10000111,B11111000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,
  B00000000,B00000000,B00000000,B00000000,B00000000,B00000011,B00001100,B00000000,B10000011,B11100000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,
  B00000000,B00000000,B00000000,B00000000,B00000000,B00000110,B00001100,B00000000,B10000001,B11000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,
  B00000000,B00000000,B00000000,B00000000,B00000000,B00001100,B00000110,B00000000,B10000000,B11100011,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,
  B00000000,B00000000,B00000000,B00000000,B00000000,B00011000,B00000110,B00000000,B10000000,B01101111,B10000000,B00000000,B00000000,B00000000,B00000000,B00000000,
  B00000000,B00000000,B00000000,B00000000,B00011100,B00111000,B00000010,B00000000,B10000000,B00111100,B11000000,B00000000,B00000000,B00000000,B00000000,B00000000,
  B00000000,B00000000,B00000000,B00000000,B00011111,B00110000,B00000011,B00000000,B11000000,B00111100,B01100000,B00000000,B00000000,B00000000,B00000000,B00000000,
  B00000000,B00000000,B00000000,B00000000,B01110111,B10110000,B00000010,B11111111,B01100000,B00111100,B00110000,B00000000,B00000000,B00000000,B00000000,B00000000,
  B00000000,B00000000,B00000000,B00000000,B11100000,B11111000,B00000110,B11111111,B10110000,B00111100,B00011000,B00000000,B00000000,B00000000,B00000000,B00000000,
  B00000000,B00000000,B00000000,B00000000,B11000000,B11011000,B00001101,B10000001,B10011000,B00011100,B00001000,B00000000,B00000000,B00000000,B00000000,B00000000,
  B00000000,B00000000,B00000000,B00000011,B10000000,B11011000,B00001001,B10000000,B11011100,B11111100,B00001000,B00000000,B00000000,B00000000,B00000000,B00000000,
  B00000000,B00000000,B00000000,B00000010,B00000000,B11011000,B00011011,B00000000,B01101111,B11100100,B00001100,B00000000,B00000000,B00000000,B00000000,B00000000,
  B00000000,B00000000,B00000000,B00000010,B00000000,B11011111,B11111011,B00000000,B00110111,B00000110,B00001100,B00000000,B00000000,B00000000,B00000000,B00000000,
  B00000000,B00000000,B00000000,B00000110,B00000000,B11100111,B11110110,B00000000,B00011000,B00000011,B00000100,B00000000,B00000000,B00000000,B00000000,B00000000,
  B00000000,B00000000,B00000000,B00000110,B00000000,B11100000,B00001110,B00000000,B00011000,B00001111,B00000100,B00000000,B00000000,B00000000,B00000000,B00000000,
  B00000000,B00000000,B00000000,B00000110,B00000000,B11000000,B00101110,B00000000,B00011011,B11111111,B11000110,B00000000,B00000000,B00000000,B00000000,B00000000,
  B00111111,B11111100,B00011111,B11110110,B01111101,B10000001,B11100110,B00000000,B00011011,B11000111,B11000110,B00000000,B00000000,B00000000,B00000000,B00000000,
  B01111111,B11111110,B00111111,B11111111,B00011111,B10001111,B11000011,B11111111,B11111111,B11111111,B11111100,B00011111,B11111111,B00111000,B00000011,B11000000,
  B11111111,B11111111,B11111111,B11111111,B10001111,B00011111,B11000111,B11111111,B11111111,B11111111,B11111000,B11111111,B11111111,B00111100,B00000011,B11100000,
  B00010000,B00001111,B11110000,B00001111,B10001111,B11111111,B10000011,B11111111,B11110111,B11111111,B11111000,B11111111,B11111100,B00111100,B00000011,B11100000,
  B00000000,B00001111,B11110000,B00000111,B11111111,B11111111,B00000001,B10011110,B00100111,B11111100,B11000010,B11111000,B00000000,B00111110,B00000011,B11100000,
  B00001111,B11111111,B11110000,B00000011,B11011111,B11111110,B00000001,B11001110,B01101100,B11111100,B01000111,B11111000,B00000000,B00111111,B11111111,B11100000,
  B00011111,B11111111,B11110000,B00000011,B11000011,B11111100,B00000000,B11111111,B11001100,B11111111,B11111111,B11110000,B00000000,B00111111,B11111111,B11100000,
  B00011111,B11111111,B11110000,B00000011,B11000011,B11111100,B00000000,B00001110,B00011100,B11111111,B11111001,B11100000,B00000000,B00111111,B11111111,B11100000,
  B00000000,B00001111,B11110000,B00001111,B11000111,B11111100,B00000000,B00001110,B00011100,B11111111,B11110001,B11100000,B00000000,B00111111,B11111111,B11100000,
  B00000000,B00001111,B11111000,B00001111,B10000111,B11111110,B00000000,B00001110,B00001100,B11111000,B11110000,B11110000,B00000000,B00111100,B00000011,B11100000,
  B01111111,B11111111,B11111111,B11111111,B10111111,B10001111,B00000000,B00111111,B11100110,B11111000,B11100000,B11111100,B00000000,B00111100,B00000011,B11100000,
  B01111111,B11111111,B11111111,B11111111,B11111111,B00000111,B11000000,B11111111,B11100111,B11111111,B11111100,B11111111,B11111111,B00111100,B00000011,B11100000,
  B11111111,B11111111,B11111111,B11111111,B11111110,B00000011,B11100000,B10001110,B00110011,B11111111,B11111100,B00011111,B11111111,B00111100,B00000011,B11100000,
  B01111111,B11111100,B00111111,B11110000,B00111100,B00000001,B11110001,B10011110,B00110001,B11111111,B11111001,B00001111,B11111110,B00111100,B00000011,B11000000,
  B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000011,B00000000,B00011001,B11111111,B11000001,B00000000,B00000000,B00000000,B00000000,B00000000,
  B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000011,B00000000,B00001100,B11100000,B11000001,B00000000,B00000000,B00000000,B00000000,B00000000,
  B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000110,B00000000,B00001100,B00000000,B01000010,B00000000,B00000000,B00000000,B00000000,B00000000,
  B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000110,B00000000,B00000110,B00000001,B01100010,B00000000,B00000000,B00000000,B00000000,B00000000,
  B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00001100,B00000000,B00000110,B00111111,B01100010,B00000000,B00000000,B00000000,B00000000,B00000000,
  B00000000,B00000000,B00000000,B00000000,B00000000,B00111000,B00001110,B00000000,B00001101,B11111101,B11101110,B00000000,B00000000,B00000000,B00000000,B00000000,
  B00000000,B00000000,B00000000,B00000000,B00000000,B01111111,B11100110,B00000000,B00011001,B10000001,B11111100,B00000000,B00000000,B00000000,B00000000,B00000000,
  B00000000,B00000000,B00000000,B00000000,B00000000,B11101111,B11110111,B00000000,B00011011,B00000001,B11110000,B00000000,B00000000,B00000000,B00000000,B00000000,
  B00000000,B00000000,B00000000,B00000000,B00000000,B11000000,B00110011,B00000000,B00110011,B00000001,B11001000,B00000000,B00000000,B00000000,B00000000,B00000000,
  B00000000,B00000000,B00000000,B00000000,B00000000,B10000000,B00011011,B00000000,B00110110,B00000001,B10011000,B00000000,B00000000,B00000000,B00000000,B00000000,
  B00000000,B00000000,B00000000,B00000000,B00000001,B10000000,B00001101,B11111111,B11101100,B00000001,B11110000,B00000000,B00000000,B00000000,B00000000,B00000000,
  B00000000,B00000000,B00000000,B00000000,B00000001,B00000000,B00001110,B11111111,B11011000,B00000001,B11100000,B00000000,B00000000,B00000000,B00000000,B00000000,
  B00000000,B00000000,B00000000,B00000001,B11110001,B10000000,B00000110,B01100000,B00111000,B00000111,B10100000,B00000000,B00000000,B00000000,B00000000,B00000000,
  B00000000,B00000000,B00000000,B00000001,B11111101,B10000000,B00000011,B00000000,B00011000,B00000101,B01000000,B00000000,B00000000,B00000000,B00000000,B00000000,
  B00000000,B00000000,B00000000,B00000001,B10001111,B11000000,B00000110,B11111111,B11011100,B00001010,B10000000,B00000000,B00000000,B00000000,B00000000,B00000000,
  B00000000,B00000000,B00000000,B00000000,B10000001,B11100000,B00001100,B11111111,B11001100,B00011111,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,
  B00000000,B00000000,B00000000,B00000000,B10000001,B11110000,B00001101,B10000000,B01101100,B11111110,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,
  B00000000,B00000000,B00000000,B00000000,B01000000,B11111110,B00011011,B00000000,B01100111,B10001100,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,
  B00000000,B00000000,B00000000,B00000000,B00100000,B01111111,B11110110,B00000000,B00100000,B00011000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,
  B00000000,B00000000,B00000000,B00000000,B00010000,B00110000,B01101110,B00000000,B00111111,B11110000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,
  B00000000,B00000000,B00000000,B00000000,B00000100,B00110000,B00001110,B00000000,B11111111,B10100000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,
  B00000000,B00000000,B00000000,B00000000,B00000011,B00110000,B00000110,B00000000,B11100001,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,
  B00000000,B00000000,B00000000,B00000000,B00000001,B11110000,B00000011,B00000011,B11100010,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,
  B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000001,B11111111,B10001000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,
  B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000010,B00110000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,
  B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000111,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000
};

// Saves 566 bytes
#define COMPACT_CUSTOM_BOOTSCREEN
const unsigned char custom_start_bmp_rle[458] PROGMEM = {
  0x0F, 0x2E, 0x1F, 0x6E, 0x10, 0x1F, 0x6D, 0x02, 0x0F, 0x6B, 0x21, 0x2F, 0x69, 0x22, 0x1F, 0x69,
  0x14, 0x0F, 0x68, 0x33, 0x0F, 0x65, 0x71, 0x0F, 0x54, 0x5A, 0x03, 0x7F, 0x51, 0x13, 0x19, 0x04,
  0x4F, 0x52, 0x14, 0x19, 0x05, 0x2F, 0x52, 0x16, 0x18, 0x06, 0x22, 0x1F, 0x4B, 0x17, 0x18, 0x07,
  0x10, 0x4F, 0x42, 0x23, 0x28, 0x08, 0x08, 0x31, 0x1F, 0x41, 0x41, 0x19, 0x17, 0x17, 0x32, 0x1F,
  0x3E, 0x20, 0x30, 0x19, 0x00, 0x70, 0x16, 0x33, 0x1F, 0x3C, 0x24, 0x47, 0x10, 0x80, 0x15, 0x34,
  0x1F, 0x3B, 0x15, 0x10, 0x16, 0x10, 0x15, 0x11, 0x15, 0x25, 0x0F, 0x39, 0x26, 0x10, 0x16, 0x01,
  0x16, 0x10, 0x21, 0x55, 0x0F, 0x39, 0x08, 0x10, 0x15, 0x10, 0x18, 0x10, 0x61, 0x05, 0x1F, 0x38,
  0x08, 0x10, 0x90, 0x19, 0x10, 0x24, 0x14, 0x1F, 0x37, 0x18, 0x21, 0x60, 0x1B, 0x18, 0x14, 0x0F,
  0x37, 0x18, 0x28, 0x2B, 0x16, 0x34, 0x0F, 0x37, 0x18, 0x17, 0x00, 0x2B, 0x10, 0xB2, 0x1F, 0x1B,
  0xB4, 0x80, 0x11, 0x40, 0x15, 0x31, 0x1B, 0x10, 0x32, 0x42, 0x1F, 0x1A, 0xD2, 0xD2, 0x52, 0x53,
  0xF1, 0x04, 0xC1, 0x28, 0x35, 0xF1, 0x12, 0x32, 0x62, 0xF1, 0x02, 0xF0, 0x01, 0x37, 0x47, 0x07,
  0x77, 0x42, 0xC4, 0xD0, 0xF0, 0x02, 0xD3, 0x37, 0x4F, 0x01, 0x78, 0xF0, 0x36, 0x11, 0x32, 0x01,
  0x81, 0x13, 0x00, 0x4C, 0x46, 0x48, 0xF0, 0x09, 0x30, 0xB7, 0x21, 0x21, 0x10, 0x11, 0x52, 0x02,
  0x7C, 0xF0, 0x17, 0xF0, 0x19, 0x33, 0x79, 0x91, 0x11, 0xF0, 0x4D, 0xF0, 0x17, 0xF0, 0x19, 0x33,
  0x7D, 0x23, 0x21, 0xC1, 0x3E, 0xF0, 0x1F, 0x01, 0x77, 0x52, 0x8D, 0x23, 0x21, 0xB2, 0x3E, 0xF0,
  0x1F, 0x01, 0x86, 0x43, 0x9C, 0x24, 0x11, 0x42, 0x33, 0x3D, 0x37, 0x45, 0xF1, 0x00, 0x62, 0x39,
  0x81, 0x10, 0x42, 0x24, 0x5B, 0x37, 0x45, 0xF1, 0x74, 0x45, 0xA1, 0xF0, 0x11, 0xF0, 0x01, 0x37,
  0x44, 0xF1, 0x76, 0x44, 0x02, 0x22, 0x11, 0xF0, 0x04, 0xC1, 0x37, 0x45, 0xC3, 0x95, 0x38, 0x42,
  0x11, 0x32, 0x12, 0xD1, 0x03, 0xA2, 0x37, 0x3F, 0x2C, 0x1A, 0x11, 0xA4, 0x0F, 0x4E, 0x1B, 0x11,
  0x24, 0x14, 0x0F, 0x4D, 0x1C, 0x1A, 0x03, 0x0F, 0x4E, 0x1D, 0x17, 0x00, 0x12, 0x0F, 0x4D, 0x1E,
  0x12, 0x50, 0x12, 0x0F, 0x43, 0x26, 0x2C, 0x10, 0x60, 0x30, 0x2F, 0x42, 0x91, 0x1B, 0x11, 0x15,
  0x6F, 0x42, 0x20, 0x70, 0x2A, 0x10, 0x16, 0x4F, 0x44, 0x17, 0x11, 0x19, 0x11, 0x16, 0x21, 0x0F,
  0x43, 0x09, 0x10, 0x19, 0x10, 0x17, 0x11, 0x1F, 0x42, 0x1A, 0x10, 0xB0, 0x18, 0x4F, 0x43, 0x0B,
  0x20, 0x90, 0x19, 0x3F, 0x3C, 0x42, 0x1B, 0x11, 0x16, 0x27, 0x30, 0x0F, 0x3C, 0x60, 0x1C, 0x1A,
  0x17, 0x00, 0x00, 0x0F, 0x3D, 0x12, 0x5A, 0x10, 0x90, 0x25, 0x00, 0x00, 0x0F, 0x3F, 0x05, 0x38,
  0x11, 0x91, 0x14, 0x4F, 0x40, 0x05, 0x47, 0x10, 0x17, 0x10, 0x11, 0x6F, 0x42, 0x05, 0x63, 0x10,
  0x18, 0x11, 0x32, 0x1F, 0x44, 0x05, 0xA0, 0x1A, 0x07, 0x1F, 0x46, 0x05, 0x14, 0x10, 0x2A, 0x9F,
  0x49, 0x03, 0x17, 0x28, 0x80, 0x0F, 0x4B, 0x11, 0x18, 0x18, 0x23, 0x0F, 0x4F, 0x49, 0x15, 0x42,
  0x0F, 0x60, 0x92, 0x0F, 0x69, 0x02, 0x1F, 0x69, 0x2F, 0x30
};
